﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace WeChat.Common2
{
    public class getCardState
    {
        public static string getCardStates(int state)
        {
            string rtn = "";
            switch (state)
            {
                case 0:
                    rtn = "未开户卡";
                    break;
                case 32:
                    rtn = "正常卡";
                    break;
                case 96:
                    rtn = "挂失卡";
                    break;
                case 64:
                    rtn = "注销卡";
                    break;
                case 97:
                    rtn = "挂失未完全卡";
                    break;
                case 33:
                    rtn = "解挂未完全卡";
                    break;
                case 160:
                    rtn = "回收卡";
                    break;
                default:
                    rtn = "正常卡";
                    break;
            }
            return rtn;
        }

     


    }
}
